package com.catsic.base;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonFormat.Shape;

/**
 * ClassName: BaseForm
 * Description: Form基本类
 * date: 2011年1月18日 下午10:25:12
 * author: yangyd
 */
public class BaseForm{
	
	private String id;
	
	/**
	 * 操作人ID
	 */
	private String createId;
	
	/**
	 * 操作人姓名
	 */
	private String createName;
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",shape = Shape.STRING,timezone = "GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public String getCreateName() {
		return createName;
	}

	public void setCreateName(String createName) {
		this.createName = createName;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
